package com.sxbbc.common.core.entity.banks;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 贷款类型属性维护表
 * </p>
 *
 * @author  liuguoyu
 * @since 2020-09-09
 */
public class BankLoanFieldMaintainSub implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 字段名称
     */
    private String fieldName;

    /**
     * 主表id
     */
    private String bankLoanId;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 属性类型：1、单选，2、复选，3、下拉框，4、输入框
     */
    private Integer inputType;


    /**
     * 属性值
     */
    private String inputValue;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getBankLoanId() {
        return bankLoanId;
    }

    public void setBankLoanId(String bankLoanId) {
        this.bankLoanId = bankLoanId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getInputType() {
        return inputType;
    }

    public void setInputType(Integer inputType) {
        this.inputType = inputType;
    }

    public String getInputValue() {
        return inputValue;
    }

    public void setInputValue(String inputValue) {
        this.inputValue = inputValue;
    }

    @Override
    public String toString() {
        return "BankLoanFieldMaintainSub{" +
                "id=" + id +
                ", fieldName='" + fieldName + '\'' +
                ", bankLoanId='" + bankLoanId + '\'' +
                ", sort=" + sort +
                ", createTime=" + createTime +
                ", inputType=" + inputType +
                ", inputValue='" + inputValue + '\'' +
                '}';
    }
}
